package com.ycz.master.pojo;



import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;
import java.util.List;

/**
 * author wml
 * Created on 2021/10/6 15:28
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName(value = "loan")
public class Loan {

    @TableId(type = IdType.AUTO)
    private Integer loanId; // 贷款编号
    private Integer moneyTemp; // 申请金额
    private Integer money; // 实际贷款金额
    private Integer term; // 申请期限
    private Integer bankCardType; // 银行卡类型
    private String bankCard; // 银行卡卡号
    private Date startTime; // 申请贷款时间
    private Date lendingTime; // 放款时间
    private Integer userId; // 客户编号

    private User user;
    private Integer spbId;
    private List<ShouldPayBack> shouldPayBack;
}
